package org.myontology.controller.impl;

import static model.Vocabulary.DISCUSSIONHASCONTENT;
import static model.Vocabulary.DISCUSSIONHASTITLE;
import static model.Vocabulary.DISCUSSION_NAMESPACE;
import static model.Vocabulary.HASAUTHOR;
import static model.Vocabulary.ISDISCUSSIONFOR;
import static model.Vocabulary.USERDISCUSSION;
import static org.myontology.model.Relation.ONE_TO_ONE;
import static org.myontology.model.Type.LITERAL;

import org.myontology.model.Property;
import org.myontology.model.Subject;
import org.myontology.model.validators.NonEmptyValidator;

public class Discussion extends Subject {

	public Discussion() {
		super(USERDISCUSSION);
		setNamespace(DISCUSSION_NAMESPACE);
		init();
	}
	
	public Property id = new Property(null,"label.username","description.username",ONE_TO_ONE,LITERAL,new NonEmptyValidator());
	public Property title = new Property(DISCUSSIONHASTITLE,"label.title","description.title",ONE_TO_ONE,LITERAL);
	public Property content = new Property(DISCUSSIONHASCONTENT,"label.content","description.content",ONE_TO_ONE,LITERAL);
	public Property isfor = new Property(ISDISCUSSIONFOR,"label.isfor","description.isfor",ONE_TO_ONE,LITERAL);
	public Property author = new Property(HASAUTHOR,"label.hasauthor","description.hasauthor",ONE_TO_ONE,LITERAL);
	
}
